package com.cinc.ebc.sd.vo;

import java.util.List;
import com.cinc.ebc.sd.entity.SdSalesReturn;
import com.cinc.ebc.sd.entity.SdSalesReturnDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 销售退货单
 * @Author: jeecg-boot
 * @Date:   2022-10-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="sd_sales_returnPage对象", description="销售退货单")
public class SdSalesReturnPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**单据号*/
	@Excel(name = "单据号", width = 15)
	@ApiModelProperty(value = "单据号")
    private java.lang.String returnNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "单据日期")
    private java.util.Date returnDate;
	/**客户*/
	@Excel(name = "客户", width = 15, dictTable = "mdm_customer", dicText = "cust_full_name", dicCode = "id")
    @Dict(dictTable = "mdm_customer", dicText = "cust_full_name", dicCode = "id")
	@ApiModelProperty(value = "客户")
    private java.lang.String customerId;
	/**合同ID*/
	@Excel(name = "合同ID", width = 15)
	@ApiModelProperty(value = "合同ID")
	private java.lang.String contractId;
	/**合同号*/
	@Excel(name = "合同号", width = 15)
	@ApiModelProperty(value = "合同号")
    private java.lang.String contractNo;
	/**项目*/
	@Excel(name = "项目", width = 15, dictTable = "quote_project", dicText = "project_name", dicCode = "id")
    @Dict(dictTable = "quote_project", dicText = "project_name", dicCode = "id")
	@ApiModelProperty(value = "项目")
    private java.lang.String projectId;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
	@ApiModelProperty(value = "联系人")
    private java.lang.String contactName;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
	@ApiModelProperty(value = "联系电话")
    private java.lang.String contactPhone;
	/**退货地址*/
	@Excel(name = "退货地址", width = 15)
	@ApiModelProperty(value = "退货地址")
    private java.lang.String returnAddress;
	/**库房*/
	@Excel(name = "库房", width = 15, dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
    @Dict(dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
	@ApiModelProperty(value = "库房")
    private java.lang.String warehouseId;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "sd_sales_return_status")
	@Dict(dicCode = "sd_sales_return_status")
	@ApiModelProperty(value = "状态")
	private java.lang.String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
	@ApiModelProperty(value = "租户ID")
    private java.lang.String tenantId;

	@ExcelCollection(name="销售退货明细")
	@ApiModelProperty(value = "销售退货明细")
	private List<SdSalesReturnDetail> sdSalesReturnDetailList;

}
